<div class="form_item form_item_file_selector_dir" id="item_!{$item.id}">
	<strong>!{if $item.required eq true}<span class="red">*</span>!{/if}!{$item.name}：</strong>
	!{if $item.value}
	<input type="text" class="text_input" name="!{$item.id}" value="!{$item.value}"/>
	!{else}
	<select name="base_path_!{$item.id}">
		<option value="parent_base">基于上级目录</option>
		<option value="site_base">基于网站根目录</option>
	</select>
	/
	<input type="text" value="" name="path_!{$item.id}" class="text_input">
	<label><input type="checkbox" value="1" name="pinyin_!{$item.id}"> 拼音</label>
	<input type="hidden" class="text_input" name="!{$item.id}" value=""/>
	<script>
		$(function(){
			$('input[name="pinyin_!{$item.id}"]').click(function(){
				if($('input[name="pinyin_!{$item.id}"]:checked').length){
					$("input[name='path_!{$item.id}']").hide();
				}else{
					$("input[name='path_!{$item.id}']").show();
				} 
			});
		});
	</script>
	!{/if}
	<p>!{$item.desc}</p>
</div>